package com.xy.biz.auth.manager;

import com.xy.biz.auth.domain.bo.UserPasswordBO;

/**
 *
 *
 * @author zsp
 * @date 2020-6-11
 */
public interface UserPasswordManager {

    /**
     * 保存
     *
     * @param userPasswordBO
     */
    int saveUserPassword(UserPasswordBO userPasswordBO);

    /**
     * 更新
     *
     * @param userPasswordBO
     */
    int updateUserPassword(UserPasswordBO userPasswordBO);

    /**
     * 查找一个
     *
     * @param userId
     * @return
     */
    UserPasswordBO getUserPassword(Long userId);

}
